package app.system.mapper;

import app.system.entity.UserSinger;

import java.util.List;

/**
 * 用户和歌手关联
 */
public interface UserSingerMapper {

    int saveUserSinger(UserSinger userSinger);

    List<UserSinger> selectUserSinger(UserSinger userSinger);

    int deleteUserSinger(UserSinger userSinger);

    /**
     * 查询关联条数
     * @param userSinger
     * @return
     */
    int selectUserSingerCount(UserSinger userSinger);
}
